git-clone
命令手册克隆现有的代码库。 更多信息:https://git-scm.com/docs/git-clone.
git clone {{远程代码库地址}}
git clone {{远程代码库地址}} {{路径/到/文件夹}}
git clone --recursive {{远程代码库地址}}
git clone -l {{路径/到/本地/代码库名}}
git clone -q {{远程代码库地址}}
git clone --depth {{10}} {{远程代码库地址}}
git clone --branch {{分支名称}} --single-branch {{远程代码库地址}}
git clone --config core.sshCommand="{{ssh -i 路径/到/ssh_私钥}}" {{远程代码库地址}}